A real puzzle with truth tables - Bob, Ted,and Carol play a hat game. This particular game is played with 5 hats, three red, and two blue. Each person gets one hat put on his or her head. Bob can see Ted’s hat and Carol’s hat but can’t see his own. Ted can see Bob’s hat and Carol’s hat, but not his own. Carol cannot see any of the hats. The game is to see which player is the first to figure out what color hat he or she is wearing. Bob goes first. He says he can’t tell. Then Ted says he can’t tell. Carol now says she is wearing a red hat. How did she know?